package model

// DockerDoc docker相关文档
type DockerDoc struct {
	ID          uint   `gorm:"primarykey;autoIncrement"`
	Title       string `gorm:"column:title;not null"`
	URL         string `gorm:"column:url;not null"`
	Description string `gorm:"column:description"`
	Type        string `gorm:"column:type;comment:文档类型 官方文档，精选文档等"`
}

func (d *DockerDoc) TableName() string {
	return "docker_doc"
}
